/**
* 设备详情 设备位置
*/ 
<template>
  <div class="main">
    <el-table :data="listData"  highlight-current-row v-loading="loading" border element-loading-text="拼命加载中" style="width: 100%;">
        <el-table-column  prop="location" label="位置" width="" show-overflow-tooltip align="center">
        </el-table-column>
        <el-table-column  prop="time" label="时间" width="300"  align="center">
        </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
    name:'location',
    data() {
        return {
            loading: false,
            listData:[],
        };
    },
    methods: {
        getdata(){
           let res = {
                code: 0,
                msg: null,
                count: 23,
                data:[
                    {
                        location:'中国广东省深圳市南山区',
                        time:'2023-10-24 14:14:36',
                    },
                    {
                        location:'中国广东省深圳市南山区',
                        time:'2023-10-24 14:14:36',
                    },
                    {
                        location:'中国广东省深圳市南山区',
                        time:'2023-10-24 14:14:36',
                    },
                ]
            }
            this.listData =  res.data;
        }
    },
    mounted () {
        this.getdata();
    }
}
</script>

<style lang="scss" scoped>

</style>